package com.chengjie.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.chengjie.common.annotation.Excel;
import com.chengjie.common.core.domain.BaseEntity;

/**
 * 车辆信息对象 car_info
 * 
 * @author ycj
 * @date 2022-05-02
 */
public class CarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 停车位编号 */
    @Excel(name = "停车位编号")
    private String code;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carId;

    /** 车辆类型，0是新能源，1不是新能源 */
    @Excel(name = "车辆类型，0是新能源，1不是新能源")
    private Long type;

    /** 业主姓名 */
    @Excel(name = "业主姓名")
    private String name;

    /** 绑定状态 */
    @Excel(name = "绑定状态")
    private Long state;

    /** 车辆规格 */
    @Excel(name = "车辆规格")
    private String specifications;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("carId", getCarId())
            .append("type", getType())
            .append("name", getName())
            .append("state", getState())
            .append("specifications", getSpecifications())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
